{inc:header} 
<script type="text/javascript" src="images/tinyeditor.js"></script> 
<script type="text/javascript" src="images/common.js"></script>
<div class="form-group"><label for="">当前文件地址:</label>
	<input class="form-control"   type="input" value="{$path}" disabled="disabled" />
</div>
<div class="form-group"><a href="javascript:void(0)" class="btn btn-default" onclick="history.go(-1)">后退</a>
	<a href="javascript:void(0)" class="btn btn-default"  onclick="history.go(+1)">前进</a>
	<a href="javascript:void(0)" class="btn btn-default" onclick="window.location.reload();">刷新</a>
</div>
<form action="admin.php" method="post" onsubmit="if($('name').value==''){alert('文章标题必须填写');return false;}">
	<div class="form-group">
<textarea class="form-control" rows="20" name="filedata" id="filedata" style="width:100%;">{$filedata}</textarea>
</div><input name="name" type="hidden" id="name" value="{$path}" />
				
		<input name="action" type="hidden" value="file" />
				<input name="ctrl" type="hidden" value="save" />
				<input name="path" type="hidden" value="{$path}" />
				<input class="btn btn-primary" type="submit" name="Submit" id="submits" value="保存" /></td>
</form>
{inc:footer} 